package com.demo.scenic.mapper;

import com.demo.scenic.domain.ScenicActivity;
import com.demo.scenic.domain.ScenicActivityExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ScenicActivityMapper {
    long countByExample(ScenicActivityExample example);

    int deleteByExample(ScenicActivityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ScenicActivity record);

    int insertSelective(ScenicActivity record);

    List<ScenicActivity> selectByExample(ScenicActivityExample example);

    ScenicActivity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ScenicActivity record, @Param("example") ScenicActivityExample example);

    int updateByExample(@Param("record") ScenicActivity record, @Param("example") ScenicActivityExample example);

    int updateByPrimaryKeySelective(ScenicActivity record);

    int updateByPrimaryKey(ScenicActivity record);

    List<ScenicActivity> selectActivityRandom();
}